#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
@version: ??
@author: rongguo
@license: Apache Licence 
@contact: rongo.wei@gmail.com
@software: PyCharm
@project: oms
@file: forms.py
@time: 17-4-22 下午9:35
"""

from django import forms
from publish.models import *


class ProjectForm(forms.ModelForm):
    class Meta:
        model = Project
        fields = ['user_id', 'name']
        widgets = {
            'name': forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Name'}),
        }
